package com.berchina.controller.customer;

import com.berchina.bean.Customer;
import com.berchina.bean.Order;
import com.berchina.service.OrderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
@RequestMapping("customer")
public class CustomerController {
    @Autowired
    private OrderService orderService;

    @RequestMapping("orderList")
    public String orderList(){
        return "";
    }
    @RequestMapping("addOrder")
    @ResponseBody
    public Object addOrder(Customer customer){
        return "";
    }
}
